var express = require('express');
var router = express.Router();
/* GET home page. */
let {usersModel}=require('../model/db')

router.get('/getuser',async(req,res)=>{
    let data=await usersModel.find()
    res.send(data)
}
)
module.exports = router;
